package com.lynx.system.service;

import com.lynx.system.beans.Menu;
import com.lynx.system.beans.Type;

import java.util.List;

public interface MenuService {

    List<Menu> findAll(int index, int limit);

    int findCount();

    void deleteById(int id);

    List<Type> getTypes();

    int save(Menu menu);

    Menu findById(int id);

    int edit(Menu menu);
}
